package cn.yj.cgs.dba.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * <br>
 *
 * @author 永健
 * @since 2019/4/20 11:17
 */
@Data
@TableName("tb_article_comment")
public class ArticleComment extends Model<ArticleComment> {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer commentId;
    private String articleNo;

    public ArticleComment() {
    }

    public ArticleComment(Integer commentId, String articleNo) {
        this.commentId = commentId;
        this.articleNo = articleNo;
    }
}
